/**
 */
package hu.bme.mit.inf.eclipse.v37zen.awesome.impl;

import hu.bme.mit.inf.eclipse.v37zen.awesome.AwesomePackage;
import hu.bme.mit.inf.eclipse.v37zen.awesome.Menu;
import hu.bme.mit.inf.eclipse.v37zen.awesome.Menuitem;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Menuitem</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.MenuitemImpl#getLabel <em>Label</em>}</li>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.MenuitemImpl#getIcon <em>Icon</em>}</li>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.MenuitemImpl#getCommand <em>Command</em>}</li>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.MenuitemImpl#getSubmenu <em>Submenu</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class MenuitemImpl extends CDOObjectImpl implements Menuitem {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MenuitemImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return AwesomePackage.Literals.MENUITEM;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLabel() {
		return (String)eGet(AwesomePackage.Literals.MENUITEM__LABEL, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setLabel(String newLabel) {
		eSet(AwesomePackage.Literals.MENUITEM__LABEL, newLabel);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getIcon() {
		return (String)eGet(AwesomePackage.Literals.MENUITEM__ICON, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setIcon(String newIcon) {
		eSet(AwesomePackage.Literals.MENUITEM__ICON, newIcon);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getCommand() {
		return (String)eGet(AwesomePackage.Literals.MENUITEM__COMMAND, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setCommand(String newCommand) {
		eSet(AwesomePackage.Literals.MENUITEM__COMMAND, newCommand);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Menu getSubmenu() {
		return (Menu)eGet(AwesomePackage.Literals.MENUITEM__SUBMENU, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setSubmenu(Menu newSubmenu) {
		eSet(AwesomePackage.Literals.MENUITEM__SUBMENU, newSubmenu);
	}

} //MenuitemImpl
